package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;

@Data
@ApiModel("帮助中心创建参数")
public class SystemHelpCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "title参数缺失")
    @ApiModelProperty(value = "标题")
    private String title;

    @NotNull(message = "content参数缺失")
    @ApiModelProperty(value = "内容")
    private String content;

    @NotNull(message = "browseNum参数缺失")
    @ApiModelProperty(value = "浏览人数")
    private Integer browseNum;

    @ApiModelProperty(value = "扩展字段")
    private String extend;

}
